package org.aiforum.backend.mapper;

import java.util.List;

import org.aiforum.backend.common.QueryPreperty;
import org.aiforum.domain.Reply;

/**
 * 回帖映射接口
 * @author Administrator
 *
 */
public interface ReplyMapper {
    /**
     * 根据id查贴
     * @param replyId
     * @return
     */
	Reply findById(int replyId);
	
	/**
	 * 根据id删除贴
	 * @param replyId
	 */
	void delete(int replyId);
	
	/**
	 * 根据属性查找回帖
	 * @param queryPreperty
	 * @return
	 */
	List<Reply> queryByPreperty(QueryPreperty queryPreperty);
}
